package com.ssm.design.chain.handler.v2;

import com.ssm.design.chain.context.OrderHandleContext;
import org.springframework.stereotype.Service;

import java.util.Objects;

@Service
public class Node02Handler extends AbstractHandlerV2<String> {

    @Override
    protected boolean isThisNodeDeal(OrderHandleContext context, String ob) {
        return Objects.equals("该我干活", "该我干活");
    }

    @Override
    protected void doHandle(String object) {
        System.out.println("=========> Node02Handler ");
    }
}
